<div class="bjui-pageHeader">
    <div class="pull-right">
        <button class="btn-default" data-icon="refresh" onclick="$.CurrentNavtab.navtab('refresh')"></button>
    </div>
</div>
<div class="bjui-pageContent">
    <form action="{:U('save_shopping')}" data-toggle="validate" data-alertmsg="false" class="navtabForm">
        <div class="form-group">
            <label class="x100">满多少免运费:</label>
            <input type="text" name="free_shipping" data-rule="required" class="w100" value="{$va.free_shipping}"/> 元
        </div>
        <div class="form-group">
            <label class="x100">积分换算比例:</label>
            <input type="text" name="scale_money" data-rule="required;number" value="{$va.scale_money}" maxlength="3" style="width:5%"/>元兑换<input type="text" name="scale_integral" data-rule="required;number" value="{$va.scale_integral}" maxlength="6" style="width:5%"/>积分
            <!-- <input type="radio" name="scale" id="ast-scale1" data-toggle="icheck" data-label="1元1积分" <if condition="$va.scale eq '1' or $va.scale eq null"> checked </if> value="1"/>
            <input type="radio" name="scale" id="ast-scale2" data-toggle="icheck" data-label="1元10积分" <if condition="$va.scale eq '10'"> checked </if>  value="10"/>
            <input type="radio" name="scale" id="ast-scale3" data-toggle="icheck" data-label="1元100积分" <if condition="$va.scale eq '100'"> checked </if> value="100" /> -->
        </div>
        <div class="form-group">
            <label class="x100">发货后多少天自动收货:</label>
            <input type="text" name="days" data-rule="required;number" class="w100" value="{$va.days}"/> 天
        </div>
        <div class="form-group">
            <label class="x100">减库存的时机:</label>
            <input type="radio" name="opt" data-toggle="icheck" id="ast-opt1" data-label="订单支付时"  <if condition="$va.opt eq '1' or $va.opt eq null"> checked </if> value="1" />
            <input type="radio" name="opt" data-toggle="icheck" id="ast-opt2" data-label="发货时"  <if condition="$va.opt eq '2'"> checked </if> value="2"/>
        </div>
    </form>
</div>
<include file="Common/footer" ftype="save"/>